-- GENERATED SPELL FOR [Ichor Globule] --


function spell0_29321(pUnit, Event) --@Splash,Self--
pUnit:FullCastSpellOnTarget(59516,pUnit)
pUnit:RegisterEvent('Sorts_29321', 574, 1)
end

function Sorts_29321(pUnit, Event)
local choix_sorts_29321 = math.random(0, 0)
if choix_sorts_29321 == 0 then
pUnit:RegisterEvent('spell0_29321', 1, 1)
end
end

function mob29321_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29321', math.random(1500, 3000), 1)
end

function mob29321_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29321_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29321_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29321, 1, 'mob29321_Action')
RegisterUnitEvent(29321, 2, 'mob29321_Leave')
RegisterUnitEvent(29321, 3, 'mob29321_Kill')
RegisterUnitEvent(29321, 4, 'mob29321_Die')
